<!DOCTYPE html>
<!-- saved from url=(0034)http://taozon.gitee.io/loop_while/ -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		
		<title></title>
		
		<style>
			#txt{
				width: 600px;
				text-align: center;
				margin: auto;
				color:aqua;

			}
		</style>
	</head>
	<body>
		<p class="txt"></p>
		<a onclick="a()"></a>
		
		<div id="txt"><br>☆<br>☆☆<br>☆☆☆<br>☆☆☆☆<br>☆☆☆☆☆<br>☆☆☆☆☆☆<br>☆☆☆☆☆☆☆<br>☆☆☆☆☆☆☆☆<br>☆☆☆☆☆☆☆☆☆<br></div>
		<script>
			for(var i = 0; i < 10; i++){
				for(var j = 0; j< i; j++){
					document.getElementById("txt").innerHTML += "";
				}
				document.getElementById("txt").innerHTML += "<br/>";
			}
		</script>
		
	

</body></html>